curl --request POST \
--url 'http://{{baseurl}}/api/v1/client/{environmentId}/displays' \
--header 'Content-Type: application/json' \
--data '
{
"surveyId": "{{surveyId}}",
"userId": "{{userId}} (optional)"
}
'{
"data": {
"id": "clvc1z8200006494jgnds7ort"
}
}Create a new display for a valid survey ID. If a userId is passed, the display is linked to the user.
curl --request POST \
--url 'http://{{baseurl}}/api/v1/client/{environmentId}/displays' \
--header 'Content-Type: application/json' \
--data '
{
"surveyId": "{{surveyId}}",
"userId": "{{userId}} (optional)"
}
'{
"data": {
"id": "clvc1z8200006494jgnds7ort"
}
}The body is of type object.
OK
The response is of type object.
Was this page helpful?